package com.nbsaas.boot.site.rest.convert;

import com.nbsaas.boot.site.data.entity.FeedBack;
import com.nbsaas.boot.site.api.domain.simple.FeedBackSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* -列表对象转换器
*/

public class FeedBackSimpleConvert implements Converter<FeedBackSimple, FeedBack> {




@Override
public FeedBackSimple convert(FeedBack source) {
    FeedBackSimple result = new FeedBackSimple();

                result.setNote(source.getNote());
                result.setCityName(source.getCityName());
                result.setPhone(source.getPhone());
                result.setCompanyName(source.getCompanyName());
                result.setName(source.getName());
                result.setProvinceName(source.getProvinceName());
                result.setId(source.getId());
                result.setAddDate(source.getAddDate());
                result.setEmail(source.getEmail());
                result.setLastDate(source.getLastDate());


    return result;
}

}